package com.ruoyi.act.service;

import com.ruoyi.act.domain.QUERY.ActTaskStartQY;
import com.ruoyi.common.core.domain.AjaxResult;

public interface ActTaskService {
    /**
     * 启动流程实例
     * @param taskStartQUERY
     * @return
     */
    public AjaxResult start(ActTaskStartQY taskStartQUERY);

    /**
     * 获取任务
     * @param userName
     * @return
     */
    public AjaxResult tasks(String userName);

    /**
     * 完成任务
     * @param id 任务id
     * @return
     */
    public AjaxResult completeTask(String id);
    public AjaxResult getHistoryTask(String id);
}
